package cn.frt.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.frt.pojo.Coupons;
import cn.frt.pojo.Shops;

/*
 * 优惠券
 */
public interface CouponsMapper {
	//添加优惠券
	int insertCoupons(Coupons coupons);
	//优惠券管理
	List<Coupons> selectCoupons();
	//根据couponsId查询
	List<Coupons> selectCouponsById(@Param("couponsId") Integer couponsId);
	//根据couponsId修改
	int updateCouponsById(Coupons coupons);
	//根据CouponsId删除
	int deleteCouponsById(@Param("couponsId") Integer couponsId);
}
